package org.bambrikii.photobank.payment.dao;

import java.util.List;

import org.bambrikii.photobank.payment.model.PhotoOrder;
import org.bambrikii.site.base.auth.model.User;
import org.bambrikii.site.base.core.dao.IDAOBase;
import org.bambrikii.site.base.payment.model.Currency;
import org.bambrikii.site.base.payment.model.OrderStatusEnum;

public interface IPhotoOrderDAO extends IDAOBase<PhotoOrder> {
	List<PhotoOrder> getOrders(User user, OrderStatusEnum orderStatus,
			String sortOrder);

	Integer getCount(User user, List<OrderStatusEnum> status);

	List<PhotoOrder> getList(User user, List<OrderStatusEnum> status,
			String sortOrder, Integer start, Integer length);

	List<Object[]> getBasketSummary(PhotoOrder order);

	List<Object[]> getBaskets(User user, Currency currency, Integer start,
			Integer length);
}